package top.continew.admin.generator.service;

import top.continew.admin.generator.model.req.ImportBatchReq;
import top.continew.admin.generator.model.resp.ImportBatchDetailResp;
import top.continew.starter.extension.crud.service.BaseService;
import top.continew.admin.generator.model.entity.ImportBatchDO;
import top.continew.admin.generator.model.query.ImportBatchQuery;
import top.continew.admin.generator.model.resp.ImportBatchResp;

/**
 * 导入批次业务接口
 *
 * @author jiangjun
 * @since 2025/01/20 10:00
 */
public interface ImportBatchService extends BaseService<ImportBatchResp, ImportBatchDetailResp, ImportBatchQuery, ImportBatchReq> {

    /**
     * 创建导入批次
     */
    String createBatch(String fileName, Integer totalCount);

    /**
     * 更新批次状态
     */
    void updateBatchStatus(String batchId, String status, Integer successCount, Integer failCount, String remark,Integer totalCount);

    /**
     * 获取批次选项列表
     */
    Object getBatchOptions();
}